export default function (colors = [], t, img) {
  let is = true;
  img ? img = img : img = captureScreen()

  for (let item of colors) {
    const { x, y, c } = item;

    if (!images.detectsColor(img, c, x, y, t)) {
      is = false

      break;
    }
  }

  return is;
}
